package Vista;

import javax.swing.JTextField;

public class VistaController {
	
	
	public static String camposObligatorios(Object[] label ){
		
		for (int i=0;i<label.length-1;i++){
			
			if(((JTextField)label[i]).getText()==null){
				return ((JTextField)label[i]).getName();
			}
		}return null;
	}

}
